import java.util.Scanner;

public class HomeWork03_10{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        
        System.out.print("please enter an integer: ");
        int itger = scan.nextInt();
        
        if(itger % 3 == 0){
            System.out.println("Ture");
        }else{
            System.out.println("False");
        }
    }
}